All Questions
28 questions
4votes
1answer
125views
Scheduled Notifications (First Android App)
I'm happy to present my first Android project, which collects market index data (three Asian indices) and fires a notificaiton every Wednesday, Thursday and Friday at 7:30 AM displaying the data. I've ...
1vote
1answer
1kviews
Starting an activity after 1000ms from a splash screen with Runnable and Handler().postDelayed
I have implemented a splash screen which is the main activity of my Android app. This splash screen shows an image, and after 1000ms there is an animation to show another activity's layout. The code ...
1vote
1answer
1kviews
Grid of radio buttons in Android
I want to display multiple radio buttons in a layout with multiline style as an item inside a RecyclerView. Look at the code I provided below and suggest how I can ...
1vote
1answer
176views
Sign Up layout in android
I have created a sign up layout as image below. Does this part of code looked bad since the dp I used for the floating button are quite large. ...
1vote
1answer
224views
Mini game for android
For Android in this mini game the monkey catches nice bananas and coconuts. It was somewhat more problematic to create the layout in XML compared to the small game engine and controls. Maybe we can ...
3votes
1answer
1kviews
Reading file from flash with Xamarin.Forms on Android using ActionOpenDocument intent with StartActivityForResult
I have a Xamarin.Forms application which utilizes dependency services to access Android specific features, in this case file access on the storage. The file we are accessing is a serialized .xml file ...
0votes
1answer
107views
Adventure game for Android
Features Abstract class World.java which works for basically any game Game engine class Simulation.java which steps forward time and introduces random events Walking persons, places and connections ...
4votes
0answers
4kviews
Creating Android layout with GridLayout
I'm trying to create a Layout with two columns which are next to each other (I'm accomplishing this behavior with a LinearLayout). Inside each column, I have two TextViews and two Buttons, which I ...
1vote
1answer
103views
Creating an AlertDialog with a list
I am wanting to implement an AlertDialog with a list into my app and I created a sample to see if I can get the result that I am looking for. It seems I do have the ...
2votes
1answer
6kviews
Animating multiple views in Android efficiently
I am currently making an application where the user will launch the app and the first this we see is the app logo fade in at the center of the screen. After about a second, the logo will translate up ...
4votes
1answer
465views
TextView vs Button for Android AlertDialog
I want to open an AlertDialog on the click of either a Button or TextView but I am not sure ...
3votes
0answers
387views
Hourglass path in SVG for Android
I've created my first Android drawable, a hourglass shaped image, and I'm curious what can be improved with it. It seems weird having to use 4 paths, but I couldn't get it to work any other way. ...
4votes
1answer
370views
Android XML parser to parse themes
I used XML to control the theme of an InputMethod for Android. A theme in XML contains the color and the shape of keys. XML file ...
6votes
1answer
3kviews
Android Compass
I have made my first app in Android Studio. I made a compass using a sensor-listener. I would greatly appreciate if someone could review my code (it is very short), and suggest improvements. My XML: ...
7votes
1answer
479views
Android Compound View Usage
I have 2 buttons for Terms and Conditions in my project, that I need to implement in multiple activities. I created the following class: ...